package com.lrs.s2sh.xsd.jqGrid.cfgItems;

import java.io.Serializable;
import java.util.Map;

import com.lrs.s2sh.web.jsonUtils.MixBean;

public class JqGridColumn implements Serializable {

	private final static long serialVersionUID = 1L;
	private String name;
	private String label;
	private String index;
	private int width;
	private String align;

	private boolean hidden;
	private boolean hidedlg;
	private boolean sortable;
	private boolean resizable;

	private MixBean formatter;
	// private Map formatoptions;

	private boolean editable;
	private String edittype;
	private Map editoptions;
	private String editrules;

	private boolean search;
	private String stype;
	private Map searchoptions;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public String getAlign() {
		return align;
	}

	public void setAlign(String align) {
		this.align = align;
	}

	public boolean isHidden() {
		return hidden;
	}

	public void setHidden(boolean hidden) {
		this.hidden = hidden;
	}

	public boolean isHidedlg() {
		return hidedlg;
	}

	public void setHidedlg(boolean hidedlg) {
		this.hidedlg = hidedlg;
	}

	public boolean isSortable() {
		return sortable;
	}

	public void setSortable(boolean sortable) {
		this.sortable = sortable;
	}

	public boolean isResizable() {
		return resizable;
	}

	public void setResizable(boolean resizable) {
		this.resizable = resizable;
	}

	public MixBean getFormatter() {
		return formatter;
	}

	public void setFormatter(MixBean formatter) {
		this.formatter = formatter;
	}

	/*
	 * public Map getFormatoptions() { return formatoptions; } public void
	 * setFormatoptions(Map formatoptions) { this.formatoptions = formatoptions;
	 * }
	 */
	public boolean isEditable() {
		return editable;
	}

	public void setEditable(boolean editable) {
		this.editable = editable;
	}

	public String getEdittype() {
		return edittype;
	}

	public void setEdittype(String edittype) {
		this.edittype = edittype;
	}

	public Map getEditoptions() {
		return editoptions;
	}

	public void setEditoptions(Map editoptions) {
		this.editoptions = editoptions;
	}

	public String getEditrules() {
		return editrules;
	}

	public void setEditrules(String editrules) {
		this.editrules = editrules;
	}

	public boolean isSearch() {
		return search;
	}

	public void setSearch(boolean search) {
		this.search = search;
	}

	public String getStype() {
		return stype;
	}

	public void setStype(String stype) {
		this.stype = stype;
	}

	public Map getSearchoptions() {
		return searchoptions;
	}

	public void setSearchoptions(Map searchoptions) {
		this.searchoptions = searchoptions;
	}

}
